<div class="discuss-list" th:each="comment:${commList}">
    <div class="discuss-left">
        <div class="user-logo"><a target="_blank" href="/"><img th:src="${comment.getUserT().getImgPath()}"></a></div>
        <div class="user-message">
            <div class="name-time">
                <a href="/user/1285450237338587136" target="_blank" class="user-name" th:text="${comment.getUserT().getUserNickname()}"></a>
                <span class="discuss-time" th:text="${#dates.format(comment.getCreateTime(),'MM-dd HH:mm')}"></span>
            </div>
            <div class="leave-message" th:text="${comment.getCommentContent()}"></div>
        </div>
    </div>
    <div class="answer-message">

        <div class="discuss-right">
            <div class="discuss-reply">
                <span class="answer" th:ansid="${comment.getId()}"   onclick="repInput(this)" >回复</span>

                <i class="idotted"></i>

                <span class="answer-num" th:if="${comment.getCommList().size()}>=1" th:ansid="${comment.getId()}" onclick="morerep(this)" ><span>更多回复</span></span>
            </div>
            <div class="discuss-num">
                <a href="javascript:;"><span>1</span><img onclick="addlike(this)" th:id="${comment.getId()}" class="dianzan" src="../img/dianzan.png"></a>
            </div>
        </div>

        <div class="posi-input" th:id="${'inputPoss'+comment.getId()}" style="display: none;">
            <div class="discuss-input" style="height: 40px;">
                <textarea placeholder="写下您的回复..." class="input" th:id="${'content'+comment.getId()}"></textarea>
                <div class="answer-div" style="position: absolute;">
                    <span class="answer-btn" onclick="replyComm(this)" th:id="${comment.getId()}">回复</span>
                </div>
            </div>
        </div>

        <div class="more-answer" th:id="${'replylist'+comment.getId()}" style="display:none">
            <div class="more-answer-list" th:each="newComm:${comment.getCommList()}" th:id="${'replyTolist'+newComm.getCommentId()}">

                <div class="discuss-left">
                    <div class="user-logo"><a target="_blank" href="/"><img th:src="${newComm.getUserT().getImgPath()}"></a></div>
                    <div class="user-message">
                        <div class="name-time">
                            <a href="/" target="_blank" class="user-name" th:text="${newComm.getUserT().getUserNickname()}"></a>
                            <span class="discuss-time"><span th:text="${#dates.format(newComm.getCreateTime(),'MM-dd HH:mm')}"></span></span>
                        </div>
                        <div class="leave-message" th:text="${newComm.getCommentContent()}"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>